<?php

/**
 * TODO: describe class 'swzz_Product'
 *
 * @package swzz
 */
class swzz_Product
{

    // ---- PROPERTIES ----

    /**
     * Id Produktu
     * 
     * @var 
     *
     * @orm 
     */
    public $productId;

    /**
     * Nazwa Produktu
     * 
     * @var 
     *
     * @orm 
     */
    public $productName;

    /**
     * TODO: describe property 'supplier'
     *
     * @var swzz_Supplier
     *
     * @orm has one swzz_Supplier inverse(product)
     */
    public $supplier;

    /**
     * TODO: describe property 'productBasket'
     *
     * @var swzz_ProductBasket
     *
     * @orm has one swzz_ProductBasket inverse(product)
     */
    public $productBasket;

    // ---- METHODS ----

    /**
     * dodaje nowy produkt
     * 
     *
     */
    public function addProduct() {
    }

    /**
     * edytuje produkt
     * 
     *
     */
    public function editProduct() {
    }

    /**
     * TODO: describe method 'getProductId'
     *
     */
    public function getProductId() {
        return $this->productId;
    }

    /**
     * TODO: describe method 'setProductId'
     *
     * @param  $productId 
     */
    public function setProductId($productId) {
        $this->productId = $productId;
    }

    /**
     * TODO: describe method 'getProductName'
     *
     */
    public function getProductName() {
        return $this->productName;
    }

    /**
     * TODO: describe method 'setProductName'
     *
     * @param  $productName 
     */
    public function setProductName($productName) {
        $this->productName = $productName;
    }

    /**
     * TODO: describe method 'getSupplier'
     *
     * @return swzz_Supplier 
     */
    public function getSupplier() {
        return $this->supplier;
    }

    /**
     * TODO: describe method 'setSupplier'
     *
     * @param swzz_Supplier $supplier 
     */
    public function setSupplier(swzz_Supplier $supplier) {
        $this->supplier = $supplier;
    }

    /**
     * TODO: describe method 'getProductBasket'
     *
     * @return swzz_ProductBasket 
     */
    public function getProductBasket() {
        return $this->productBasket;
    }

    /**
     * TODO: describe method 'setProductBasket'
     *
     * @param swzz_ProductBasket $productBasket 
     */
    public function setProductBasket(swzz_ProductBasket $productBasket) {
        $this->productBasket = $productBasket;
    }

} // end of class swzz_Product

?>